home *** CD-ROM | disk | FTP | other *** search
- VB*Alyzer
- =========
-
- This is a little app that I wrote one evening to provide
- a number of simple metrics (and one slightly more complex
- one) on a VB project. I'd just finished re-structuring one
- of my idiot ex-boss's apps, and I was keen to see how much
- I'd improved it!
-
- It scans a VB project's files and counts, amongst other
- things, numbers of lines, variables, constants etc. See
- the options setup for more. One "interesting" addition
- is the McCabe Complexity measure (or what "Code Complete"
- says that is, anyway), which is supposed to give a rule-
- of-thumb measurement of a routine's complexity,
- surprisingly enough... It works by assigning a value of 1
- to each routine and adding one for each "decision point":
- things like If, While, For, And, and so on. Routines with
- high ( > 10?) values are worth examining for possible
- restructuring.
-
- Rather than an EXE, I've provided source - one form, three
- modules and an icon. Strap them into a project, after
- adding THREED.VBX, CMDIALOG.VBX and GRID.VBX, and run.
-
- The interface may look a little clumsy. That's because I've
- taken out the FPGRID10 and VSVBX parts that I used in my
- own version. I didn't see that there was any sense cluttering
- up the ZIP file with runtime versions of VBXs when the
- intention was to allow the user to play with the source!
- FWIW, the three frames are VSVBX tabs in the original, and
- I use the grid from VBTools 4 (FPGRID10.VBX). The latter is
- little different in functionality to the VB Grid, as far as
- I've used it here, so the only obvious loss is the 3D aspect.
-
- This is FREEWARE, but I'll support it if (a) someone asks me;
- and (b) I feel it. Any comments and/or suggestions received with
- interest.
-
- Mike Woodhouse
- 73503,2522